package com.caiwangdai.app.ui.borrow

import android.content.Context
import android.content.Intent
import android.support.v4.app.Fragment
import com.caiwangdai.app.origin.BaseFragmentActivity
import com.caiwangdai.app.ui.home.repay.BorrowRecordListFragment

//还款记录 activity
class BorrowListActivity : BaseFragmentActivity() {

    override val fragment: Fragment
        get() = BorrowRecordListFragment.newInstance(BorrowRecordListFragment.POSITION_ACTIVITY_SINGLE)

    companion object {
        fun newInstance(context: Context): Intent {
            val intent = Intent(context, BorrowListActivity::class.java)
            return intent
        }
    }
}
